﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public partial class Contact
    {
        public Contact() { }
        #region Model
        private int _id;
        private string _name;
        private string _phone;
        private string _email;
        private string _qq;
        private string _officeaddress;
        private string _officephone;
        private string _homeaddress;
        private string _homephone;
        private string _memo;
        private int _groupid;
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { set { _name = value; } get { return _name; } }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string Phone { set { _phone = value; } get { return _phone; } }
        /// <summary>
        /// 邮件地址
        /// </summary>
        public string Email { set { _email = value; } get { return _email; } }
        /// <summary>
        /// QQ号码
        /// </summary>
        public string QQ { set { _qq = value; }  get { return _qq; } }
        /// <summary>
        /// 办公室地址
        /// </summary>
        public string OfficeAddress { set { _officeaddress = value; } get { return _officeaddress; } }
        /// <summary>
        /// 办公室电话
        /// </summary>
        public string OfficePhone { set { _officephone = value; } get { return _officephone; } }
        /// <summary>
        /// 家庭地址
        /// </summary>
        public string HomeAddress { set { _homeaddress = value; } get { return _homeaddress; } }
        /// <summary>
        /// 家庭电话
        /// </summary>
        public string HomePhone { set { _homephone = value; } get { return _homephone; } }
        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { set { _memo = value; } get { return _memo; } }
        /// <summary>
        /// 分组ID
        /// </summary>
        public int GroupId { set { _groupid = value; } get { return _groupid; } }
        #endregion Model
    }
}
